<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/8/13
 * Time: 21:26
 */
Route::group(['namespace' => 'Server','prefix' => 'server'], function () {
    //登录
    Route::get('/login', 'IndexController@login');
    Route::post('/login', 'IndexController@login');
    //登出
    Route::get('/logout', 'IndexController@logout');
    Route::get('/index', 'IndexController@index');
    Route::get('/getUserList', 'IndexController@getUserList');
    Route::get('/getChatLog', 'IndexController@getChatLog');
    Route::get('/getCity', 'IndexController@getCity');
    Route::post('/uploadImg', 'IndexController@UploadImg');
    Route::post('/uploadFile', 'IndexController@UploadFile');
});